"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.logicalAdapter = void 0;

var _baseAdapter = require("../../../extends/baseAdapter");

var logicalAdapter = (0, _baseAdapter.baseAdapterFactory)({
  defaultAdapter: {},
  adapterImplement: function adapterImplement() {
    if (process.env.DISCUZ_ENV === 'web') {
      return require("./web").VideoWebAdapter;
    }

    if (process.env.DISCUZ_ENV === 'mini') {
      return require("./mini").VideoMiniAdapter;
    }
  }
});
exports.logicalAdapter = logicalAdapter;